package cn.zwx.activiti.example.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @projectName:activiti-example
 * @see:cn.zwx.activiti.example.model.req
 * @author:zhangwenxue
 * @createTime:2021/6/2 21:01
 * @version:1.0
 */
@Data
@ApiModel("删除流程实例请求参数")
public class DeleteInstanceReq {
    @ApiModelProperty(value = "流程实例id",required = true)
    @NotBlank(message = "流程实例id不能为空")
    private String processId;

    /**
     * @description 删除原因
     **/
    @ApiModelProperty(value = "删除原因",required = true)
    @NotBlank(message = "删除原因不能为空")
    private String reason;
}
